#ifndef TOOL_H_INCLUDED
#define TOOL_H_INCLUDED

#include <string>

/***********************************

Class Tool
Param : string chemin_texture_outil

***********************************/

class Tool{

public :
    Tool(std::string imageName, bool trans);
    static sf::Shape toShape(float cote);
    static int getBorderSize(void);
    static std::vector<Tool*> getTools(void);
    static int whoIsActif(void);
    static bool isActifIsTrans(void);
    virtual sf::Sprite getLogo(void);
    void setActif(bool etat);
    bool isActif(void);
    bool isTransparent(void);

private :
    static const int BORDER_SIZE = 2;
    static std::vector<Tool*> tools;
    sf::Image logo;
    bool actif;
    bool transparent;
};

#endif // TOOL_H_INCLUDED
